home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacApp Release 10 / MacApp Release 10 - HD Ready / Examples / DemoDialogs / MDemoDialogs.cp < prev    next >
Encoding:
Text File  |  1996-04-03  |  1.5 KB  |  77 lines  |  [TEXT/MPS ]

  1. //----------------------------------------------------------------------------------------
  2. // MDemoDialogs.cp
  3. // Copyright © 1988-96 by Apple Computer, Inc. All rights reserved.
  4. //----------------------------------------------------------------------------------------
  5.  
  6. #ifndef __UDEMODIALOGS__
  7. #include "UDemoDialogs.h"
  8. #endif
  9.  
  10. // MacApp
  11.  
  12. //    #ifndef __MACAPP__
  13. //    #include "MacApp.h"
  14. //    #endif
  15.  
  16. #ifndef __UDIALOG__
  17. #include "UDialog.h"
  18. #endif
  19.  
  20. #if qDrag
  21.     #ifndef __UDRAGDROP__
  22.     #include "UDragDrop.h"
  23.     #endif
  24. #endif
  25.  
  26. #ifndef __UFLOATWINDOW__
  27. #include "UFloatWindow.h"
  28. #endif
  29.  
  30. #ifndef __UGEOMETRY__
  31. #include "UGeometry.h"
  32. #endif
  33.  
  34. #ifndef __UGRIDVIEW__
  35. #include "UGridView.h"
  36. #endif
  37.  
  38. #ifndef __UPRINTING__
  39. #include "UPrinting.h"
  40. #endif
  41.  
  42. #ifndef __UTEVIEW__
  43. #include "UTEView.h"
  44. #endif
  45.  
  46. //----------------------------------------------------------------------------------------
  47. // main: 
  48. //----------------------------------------------------------------------------------------
  49. #pragma push
  50. #pragma processor 68000
  51.  
  52. void main()
  53. {
  54.     InitUMacApp(6);                            // Initialize MacApp; 6 calls to MoreMasters
  55.  
  56.     InitUTEView();
  57.     InitUDialog();
  58. #if qDrag
  59.     if (HasDragManager())
  60.         InitUDragManager();
  61. #endif
  62.     InitUGridView();
  63.     InitUFloatWindow();
  64.     InitUPrinting();
  65.     
  66.     TTestApplication* aTestApplication = new TTestApplication;
  67.     aTestApplication->ITestApplication();
  68.     aTestApplication->Run();
  69. } // main
  70.  
  71. #pragma pop
  72.  
  73. //----------------------------------------------------------------------------------------
  74. // End of MDemoDialogs.cp
  75.  
  76. #pragma segment Inline
  77.